package com.yueyang.sojourn.server.model.po;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * t_share_data
 * @author  Stephen.Shi
 */
@ApiModel("分销数据")
@Data
public class ShareData implements Serializable {
    private Long id;

    @ApiModelProperty("分销id")
    private Long shareId;

    @ApiModelProperty("行为类型: 0:浏览 1:收藏 2:注册 3:下单 4: 成交")
    private Integer type;

    @ApiModelProperty("行为描述文字")
    private String content;

    @ApiModelProperty("业务id(现只有订单) 可以为Null")
    private Long businessId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("openId（暂时不用）")
    private String openId;

    @ApiModelProperty("创建时间")
    private Date ctime;

    private static final long serialVersionUID = 1L;
}